<?php
/**
 *APINAME:
 *Developer:
 *Complete:
 */

namespace app\index\model;


use think\Model;

class Project extends Model
{
    /**
     * 修改用户项目经历
     * @param $human
     * @param $data
     * @return Project
     */
    public function upProject($human,$data){
        return $this->where('user_id','=',$human)->update($data);
    }

    /**
     * 添加用户项目经历
     * @param $data
     * @return bool
     */
    public function saveProject($data){
        return $this->save($data);
    }
}